<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="Enum">
using System;

namespace <xsl:value-of select="HeaderInfo/ProjectName"/>.Core.Domain.DataAccess {

	public enum  <xsl:value-of select="Name"/> : int {
		<xsl:for-each select="Names/string">
<xsl:if test="position()=count(/Enum/Names/string)"><xsl:value-of select="."/></xsl:if>
<xsl:if test="position()!=count(/Enum/Names/string)"><xsl:value-of select="."/>,</xsl:if>
		</xsl:for-each>
	}
	
}
	</xsl:template>
</xsl:stylesheet>
